package ru.demo.abstarctservice.app.impl;

import org.springframework.context.ApplicationEventPublisher;
import org.springframework.stereotype.Service;
import ru.demo.abstarctservice.adapter.jpa.AbstractRepository;
import ru.demo.abstarctservice.adapter.mapper.AbstractMapper;
import ru.demo.abstarctservice.adapter.mapper.dto.PersonDto;
import ru.demo.abstarctservice.app.api.PersonService;
import ru.demo.abstarctservice.entity.Person;


@Service
public class PersonServiceImpl extends AbstractServiceImpl<Person, PersonDto>
        implements PersonService {

    public PersonServiceImpl(AbstractRepository<Person> repository,
                             AbstractMapper<Person, PersonDto> mapper,
                             ApplicationEventPublisher applicationEventPublisher) {
        super(repository, mapper, applicationEventPublisher);
    }
}
